package com.example.unifiedinterface.entity;

/**
 * @Author: 19239
 * @Description: 统一接口出参基类
 * @Date: 2024/5/21
 * @Version: 1.0
 */
public class BaseResponse<T> {

    private String code;

    private String message;

    private T data;

    private String errorMessage;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}
